package Demo1299.Demo6;

import org.apache.commons.io.FileUtils;

import java.io.File;

/**
 * @Author:LiRegin
 * @Date: 2019/12/8 16:44:35
 */
public class Test {
    public static void main(String[] args) throws Exception {
        Class<?> aClass = Class.forName(FileUtils.readFileToString(new File("C:\\Daymate\\src\\Demo1299\\Demo6\\data1.txt")));
        Object o = aClass.getConstructor().newInstance();
    }
}
